package com.zf.test;

import com.zf.rpc.annotation.ServiceScan;
import com.zf.rpc.serializer.CommonSerializer;
import com.zf.rpc.transport.socket.server.SocketServer;

/**
 * @ProjectName: RPC-zhaofeng
 * @Package: com.zf.simpleImplementation
 * @ClassName: testServer
 * @Author: zf
 * @Description:
 * @Date: 2021/5/6 23:24
 * @Version: 1.0
 */
@ServiceScan
public class SocketTestServer {
    public static void main(String[] args) {

        SocketServer socketServer = new SocketServer("127.0.0.1", 9998, CommonSerializer.HESSIAN_SERIALIZER);
        socketServer.start();

    }
}
